#include<stdio.h>
int main()
{
	int a[i][j],i,j,n;
	for(i=0;i<10,i++){
		a[i][0]=1;
		a[i][i]=1;}
	  
	  for(j=0;j<10;j++){
	  	for(j=1;j<i;j++)
	  	a[i][j]=a[i-1][j-1]+a[i+1][j-1];
	  }printf("%d",a[i][j])
}
	 
	 
	
  
